/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.system.entity;

import com.thinkgem.jeesite.modules.sys.entity.Office;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 优信通岗位映射Entity
 * @author jyangye
 * @version 2018-03-15
 */
public class VivoOfficePostMap extends DataEntity<VivoOfficePostMap> {
	
	private static final long serialVersionUID = 1L;
	private Office vComp;		// 优信通组织机构ID
	private Office vDept;		// 优信通部门ID
	private Office vPost;		// 优信通岗位ID
	private Office sComp;		// 本地组织机构ID
	private Office sDept;		// 本地部门ID
	private Office sPost;		// 本地岗位ID
	private String opeartor;		// 操作员
	private String status;		// 状态
	
	public VivoOfficePostMap() {
		super();
	}

	public VivoOfficePostMap(String id){
		super(id);
	}

	@ExcelField(title="优信通组织机构ID", align=2, sort=20)
	public Office getvComp() {
		return vComp;
	}

	public void setvComp(Office vComp) {
		this.vComp = vComp;
	}
	
	@ExcelField(title="优信通部门ID", align=2, sort=30)
	public Office getvDept() {
		return vDept;
	}

	public void setvDept(Office vDept) {
		this.vDept = vDept;
	}
	
	@ExcelField(title="优信通岗位ID", align=2, sort=40)
	public Office getvPost() {
		return vPost;
	}

	public void setvPost(Office vPost) {
		this.vPost = vPost;
	}
	
	@ExcelField(title="本地组织机构ID", align=2, sort=50)
	public Office getsComp() {
		return sComp;
	}

	public void setsComp(Office sComp) {
		this.sComp = sComp;
	}
	
	@ExcelField(title="本地部门ID", align=2, sort=60)
	public Office getsDept() {
		return sDept;
	}

	public void setsDept(Office sDept) {
		this.sDept = sDept;
	}
	
	@ExcelField(title="本地岗位ID", align=2, sort=70)
	public Office getsPost() {
		return sPost;
	}

	public void setsPost(Office sPost) {
		this.sPost = sPost;
	}
	
	@Length(min=0, max=32, message="操作员长度必须介于 0 和 32 之间")
	@ExcelField(title="操作员", align=2, sort=80)
	public String getOpeartor() {
		return opeartor;
	}

	public void setOpeartor(String opeartor) {
		this.opeartor = opeartor;
	}
	
	@Length(min=0, max=1, message="状态长度必须介于 0 和 1 之间")
	@ExcelField(title="状态", align=2, sort=90)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}